﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000727 RID: 1831
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetLineupAvatarDataScRsp : IMessage<GetLineupAvatarDataScRsp>, IMessage, IEquatable<GetLineupAvatarDataScRsp>, IDeepCloneable<GetLineupAvatarDataScRsp>, IBufferMessage
	{
		// Token: 0x17001770 RID: 6000
		// (get) Token: 0x0600525A RID: 21082 RVA: 0x000DF50B File Offset: 0x000DD70B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetLineupAvatarDataScRsp> Parser
		{
			get
			{
				return GetLineupAvatarDataScRsp._parser;
			}
		}

		// Token: 0x17001771 RID: 6001
		// (get) Token: 0x0600525B RID: 21083 RVA: 0x000DF512 File Offset: 0x000DD712
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetLineupAvatarDataScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001772 RID: 6002
		// (get) Token: 0x0600525C RID: 21084 RVA: 0x000DF524 File Offset: 0x000DD724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetLineupAvatarDataScRsp.Descriptor;
			}
		}

		// Token: 0x0600525D RID: 21085 RVA: 0x000DF52B File Offset: 0x000DD72B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLineupAvatarDataScRsp()
		{
		}

		// Token: 0x0600525E RID: 21086 RVA: 0x000DF53E File Offset: 0x000DD73E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLineupAvatarDataScRsp(GetLineupAvatarDataScRsp other) : this()
		{
			this.avatarDataList_ = other.avatarDataList_.Clone();
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600525F RID: 21087 RVA: 0x000DF574 File Offset: 0x000DD774
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetLineupAvatarDataScRsp Clone()
		{
			return new GetLineupAvatarDataScRsp(this);
		}

		// Token: 0x17001773 RID: 6003
		// (get) Token: 0x06005260 RID: 21088 RVA: 0x000DF57C File Offset: 0x000DD77C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<LineupAvatarData> AvatarDataList
		{
			get
			{
				return this.avatarDataList_;
			}
		}

		// Token: 0x17001774 RID: 6004
		// (get) Token: 0x06005261 RID: 21089 RVA: 0x000DF584 File Offset: 0x000DD784
		// (set) Token: 0x06005262 RID: 21090 RVA: 0x000DF58C File Offset: 0x000DD78C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x06005263 RID: 21091 RVA: 0x000DF595 File Offset: 0x000DD795
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetLineupAvatarDataScRsp);
		}

		// Token: 0x06005264 RID: 21092 RVA: 0x000DF5A4 File Offset: 0x000DD7A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetLineupAvatarDataScRsp other)
		{
			return other != null && (other == this || (this.avatarDataList_.Equals(other.avatarDataList_) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06005265 RID: 21093 RVA: 0x000DF5F4 File Offset: 0x000DD7F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.avatarDataList_.GetHashCode();
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06005266 RID: 21094 RVA: 0x000DF641 File Offset: 0x000DD841
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06005267 RID: 21095 RVA: 0x000DF649 File Offset: 0x000DD849
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06005268 RID: 21096 RVA: 0x000DF654 File Offset: 0x000DD854
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.avatarDataList_.WriteTo(ref output, GetLineupAvatarDataScRsp._repeated_avatarDataList_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(32);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06005269 RID: 21097 RVA: 0x000DF6A4 File Offset: 0x000DD8A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.avatarDataList_.CalculateSize(GetLineupAvatarDataScRsp._repeated_avatarDataList_codec);
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600526A RID: 21098 RVA: 0x000DF6F8 File Offset: 0x000DD8F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetLineupAvatarDataScRsp other)
		{
			if (other == null)
			{
				return;
			}
			this.avatarDataList_.Add(other.avatarDataList_);
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600526B RID: 21099 RVA: 0x000DF745 File Offset: 0x000DD945
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600526C RID: 21100 RVA: 0x000DF750 File Offset: 0x000DD950
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 32U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.avatarDataList_.AddEntriesFrom(ref input, GetLineupAvatarDataScRsp._repeated_avatarDataList_codec);
				}
			}
		}

		// Token: 0x04002040 RID: 8256
		private static readonly MessageParser<GetLineupAvatarDataScRsp> _parser = new MessageParser<GetLineupAvatarDataScRsp>(() => new GetLineupAvatarDataScRsp());

		// Token: 0x04002041 RID: 8257
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002042 RID: 8258
		public const int AvatarDataListFieldNumber = 2;

		// Token: 0x04002043 RID: 8259
		private static readonly FieldCodec<LineupAvatarData> _repeated_avatarDataList_codec = FieldCodec.ForMessage<LineupAvatarData>(18U, LineupAvatarData.Parser);

		// Token: 0x04002044 RID: 8260
		private readonly RepeatedField<LineupAvatarData> avatarDataList_ = new RepeatedField<LineupAvatarData>();

		// Token: 0x04002045 RID: 8261
		public const int RetcodeFieldNumber = 4;

		// Token: 0x04002046 RID: 8262
		private uint retcode_;
	}
}
